/*
 * init_pilua.c
 *
 * Plugin interface to the Lua Programming Language
 *
 * (c) 2024, Lau
 *
 */

#ifndef __INIT_PILUA_H__
#define __INIT_PILUA_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

int pilua_count_plugins(void);
void pilua_reload_plugins (void *client_data);

typedef void (*pilua_plugin_description_callback)(const char *, const char *,
                                                  const char *, const char *,
                                                  void *);
void pilua_plugins_get_descriptions(pilua_plugin_description_callback callback, void *user_data);
void pilua_plugins_dump_all(void);
const char *pilua_plugin_type_name(void);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __INIT_PILUA_H__ */
